package org.sixtynine.stock.dao;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.CompanyDocument;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface CompanyDocumentDao extends AbstractDao<CompanyDocument, Integer> {

	void saveCompanyDocument(CompanyDocument companyDocument);

	List<CompanyDocument> findCompanyDocument(int companyId);

	List<CompanyDocument> searchCompanyDocument(int companyId, Date fromDate,
			Date toDate);

	public Page<CompanyDocument> searchCompanyDocument(int companyId,
			Date fromDate, Date toDate, GridPramDTO gridPramDTO);
	
}
